from name_function import get_formatted_name

print("Enter 'q' at any time yo quit.")
while True:
    first=input("\nPlease give me a first name: ")
    if first=='q':
        break
    last=input("Please give a last name: ")
    if last=='q':
        break

    formatted_name=get_formatted_name(first,last)
    print(f"\n Neatly formatted name : {formatted_name}")

